
import { defineStore } from 'pinia'
import { ref, watchEffect, reactive, computed } from 'vue'
import { 查插件api } from '@/amtf/api/其他api';
import *  as util from '@/amtf/utils'

export default defineStore('插件', () => {
  const 插件 = reactive({})

  async function 查插件() {
    const res = await 查插件api()
    console.log(`查插件 res 👉`, res)
    util.对象重予(插件, res.data)
  }
  查插件()

  return { 插件 }
})